home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Tools & Apps / Testing & Debugging / Super Front End for VU (HITEC) / Place on Controller Machine / Place Contents in MPW Folder / UserStartup•HITEC
Encoding:
Text File  |  1991-11-19  |  4.0 KB  |  135 lines  |  [TEXT/MPS ]

  1. ##    —————————————————————————————————————————————————————————————————————————————————————
  2. ##    file:        UserStartup•HITEC
  3. ##    purpose:    Define needed HITEC variables and create HITEC menu.
  4. ##    note:        Be sure to set the various preferences using the Preferences menu item 
  5. ##                before using HITEC.
  6. ##    version:    1.0.2
  7. ##    copyright:    © 1990-91 by Apple Computer, Inc. All rights reserved.
  8. ##    —————————————————————————————————————————————————————————————————————————————————————
  9.  
  10. Set Exit 0
  11.  
  12. #     DEFINE NEEDED HITEC VARIABLES
  13.  
  14. #    {HITECDir} - Directory for HITEC
  15.     Set HITECDir "{MPW}HITEC:"
  16.     Export HITECDir
  17.  
  18. #    {Commands} - Directories to search for scripts & tools.
  19.     Set Commands "{Commands},{HITECDir}HITEC Scripts&Tools:"
  20.     Export Commands
  21.  
  22. #    {alwaysInstall} - should we always install HITEC or ask each time?
  23.     Set alwaysInstall false
  24.     Export alwaysInstall
  25.  
  26.  
  27. ###     BEFORE WE CONTINUE, CHECK THAT THE USER WANTS TO INSTALL HITEC  ###
  28. if {alwaysInstall} == false; ∂
  29.     Set tempcmdperiod "{IgnoreCmdPeriod}"; ∂
  30.     Set IgnoreCmdPeriod true; ∂
  31.     Set doHITEC "`HITECInstall`"; ∂
  32.     Set IgnoreCmdPeriod "{tempcmdperiod}"; ∂
  33.     Exit if {doHITEC} == false; ∂
  34. else; ∂
  35.     Set doHITEC true; ∂
  36. end; ∂
  37.  
  38.  
  39.  
  40. #     CONTINUE DEFINING NEEDED HITEC VARIABLES
  41.  
  42. #    {SessionName} - Directory name to dump session files into
  43.     Set SessionName "HITEC_Sessions_"`date -s -d`
  44.     Export SessionName
  45.  
  46. #    {SessionDir} - Directory location to dump session files into
  47.     Set SessionDir "{MPW}""{SessionName}"
  48.     Export SessionDir
  49.  
  50. #    {TestFiles} - Set the location of my local test files, this is where you suite files get placed.
  51.     Set TestFiles "{HITECDir}-> Suites:"
  52.     Export TestFiles
  53.  
  54. #    {SLibraries} - Set the location of my local VU libraries.
  55.     Set SLibraries "{HITECDir}VU Libraries:"
  56.     Export SLibraries
  57.  
  58. #    {SIncludes} - Set the location of my local VU includes.
  59.     Set SIncludes "{HITECDir}VU Includes:"
  60.     Export SIncludes
  61.  
  62. #    {TListDir} - Directory where the target list(s) are kept
  63.     Set TListDir    "{HITECDir}Target Lists:"
  64.     Export    TListDir
  65.  
  66. #    {TempFilesDir} - Directory to dump temp files into
  67.     Set TempFilesDir    "{HITECDir}Temp Files:"
  68.     Export    TempFilesDir
  69.         
  70. #    {LastSessionDir} - Last session directory name
  71.     Set LastSession        "{TempFilesDir}LastSession" 
  72.     Export    LastSession
  73.  
  74. #    {TargetList} - Name of the target list file
  75.     Set TargetList    "DefaultTargetList"
  76.     Export    TargetList
  77.  
  78. #    {MyName} - My identification values
  79.     Set MyName ""        #### THIS SHOULD BE YOUR SERVER LOG IN NAME ####
  80.     Export MyName
  81.  
  82. #    {TempScript} - Name used for temporary compiled VU scripts
  83.     Set TempScript        "TempScript.vu"
  84.     Export TempScript
  85.  
  86. #    {LeaveTemp} - Define whether or not to keep the last compiled script around
  87.     Set LeaveTemp false
  88.     Export LeaveTemp
  89.  
  90. #    {SrvrLoc} - Path to the server
  91. #    {ProjLoc} - Path to the library project on the server
  92.     Set SrvrLoc    ""                # Server location where the libraries are
  93.     Set ProjLoc    ""                # Location of library projector file
  94.     Export SrvrLoc
  95.     Export ProjLoc
  96.  
  97. #    {useC} - Have HITEC use the C-preprocessor to compile the script?
  98.     Set useC true                                    # true is the default
  99.     Export useC
  100.  
  101. #    {VURetry} - VU’s network retry parameter
  102.     Set VURetry 3                                    # 3 is the default retries value
  103.     Export VURetry
  104.     
  105. #    {VUTimeout} - VU’s network timeout parameter
  106.     Set VUTimeout 20                                # 20 is the default timeout value
  107.     Export VUTimeout
  108.  
  109. #    {VUFailures} - VU’s failures parameter
  110.     Set VUFailures 1                                # 1 is the default failure value
  111.     Export VUFailures
  112.  
  113. #    {VUTrace} - VU’s diagnostic trace parameter
  114.     Set VUTrace false                                # false is the default for trace
  115.     Export VUTrace
  116.  
  117. #    {VUKeyRate} - VU’s diagnostic trace parameter
  118.     Set VUKeyRate 20                                # 20 is the default keyrate for VU
  119.     Export VUKeyRate
  120.  
  121. #    {VUMouseSpeed} - VU’s diagnostic trace parameter
  122.     Set VUMouseSpeed 50                                # 50 is the default mouse speed for VU
  123.     Export VUMouseSpeed
  124.  
  125. #    {VUCaseSense} - VU’s case sensitive parameter
  126.     Set VUCaseSense false                            # false is the default case sensitivity
  127.     Export VUCaseSense
  128.  
  129. #    {VUCustom} - Custom VU’s parameters can go here - if applicable
  130.     Set VUCustom ""                                    # empty is the default custom parameters
  131.     Export VUCustom
  132.  
  133. #    Create the HITEC Menu
  134.     HITECMenu
  135.